///**
// * 
// */
//package com.asset.salesforce.service;
//
//import java.util.List;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.springframework.transaction.annotation.Transactional;
//
//import com.asset.salesforce.dao.CommentDaoImpl;
//import com.asset.salesforce.domain.Comment;
//
///**
// * @author Hisham
// *
// */
//@Service
//@Transactional(readOnly=true)
//public class CommentService {
//
//	@Autowired
//	private CommentDaoImpl commentDaoImpl;
//	
//	public Comment getById(Integer id) {
//		return commentDaoImpl.getById(id, new Comment());
//	}
//	
//	@Transactional(readOnly=false)
//	public void add(Comment city) {
//		commentDaoImpl.add(city);
//	}
//	
//	@Transactional(readOnly=false)
//	public void saveOrupdate(Comment city){
//		commentDaoImpl.saveOrupdate(city);
//	}
//	
//	@Transactional(readOnly=false)
//	public void delete(Comment city) {
//		commentDaoImpl.delete(city);
//	}
//	
//	public List<Comment> getAll(Comment city) {
//		return commentDaoImpl.getAll(city);
//	}
//	
//	public Integer getAllSize(Comment city) {
//		return commentDaoImpl.getAllSize(city);
//	}
//}
